﻿<phone:PhoneApplicationPage 
    x:Class="CivilleWP7.Views.Pages.TaskDetail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:usercontrols="clr-namespace:CivilleWP7.Views.Controls"
    xmlns:maps="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True" Title="Name">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
        
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="60*" />
            <ColumnDefinition Width="40*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="15*" />
            <RowDefinition Height="10*" />
            <RowDefinition Height="25*" />
            <RowDefinition Height="40*" />
            <RowDefinition Height="10*" />
        </Grid.RowDefinitions>
        <Image Name="Logo" Grid.Row="1" Grid.Column="1" />
        <TextBlock Name="TitleTextBlock" Text="Task name" Grid.ColumnSpan="2"  TextWrapping="Wrap" Style="{StaticResource PhoneTextTitle1Style}"/>
        <TextBlock Name="PointsTextBlock" Text="1000 points" VerticalAlignment="Center" Grid.Row="1" Style="{StaticResource PhoneTextExtraLargeStyle}" />
        <ScrollViewer Grid.Row="2" Grid.ColumnSpan="2">
            <TextBlock Name="DescriptionTextBlock" Text="A description of a task that is very very very very very very very you very very very very very very very very very very very very very vety vety very very veryve ryve ryve ryve ryvet yvety vertyy vertter vertev ere ffd fdf df df df df df long" TextWrapping="Wrap" Style="{StaticResource PhoneTextNormalStyle}" Margin="10"/>
        </ScrollViewer>
        <maps:Map Name="MapControl" Margin="15,0" Grid.Row="3" Grid.ColumnSpan="2" CredentialsProvider="AsRwIhEEnjkZ4AjPHctyFpERUQxqSNItZqt1k6GBuz8HH0IUmLjhtB4BHM5wmYPB" MapResolved="MapControl_MapResolved">
            <maps:MapLayer Name="PushPinLayer" />
            <maps:MapLayer Name="RouteLayer" />
        </maps:Map>
        <Button Name="DoneButton" Content="I think I'm done" Click="doneBtn_Click" Grid.Row="4" Grid.ColumnSpan="2" Background="Transparent" />
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
